Book Contents

Set up connections for the Ramp button (Connections tab)

To set up tags for the Ramp button

  1. In the Graphics Display editor, double-click the button to open its Properties dialog box.
  2. Click the Connections tab.
  3. Assign a tag to these connections:

    Value

    A read-write connection. The application keeps a copy of the Value connection on the computer. When the operator presses the Ramp button, the application adds or subtracts the "Ramp value" amount (specified in the General tab) from the local Value connection value and writes the result to the Value connection tag’s data source.

    If the "Ramp value" amount  is a floating point value and the Value connection is an integer tag, the application rounds the value before writing it to the connection.

    Ramp

    A read connection. Assign a tag or an expression. The application reads the connection to determine by what value the object will increase or decrease the data source.

    This connection is only used if the Use variable ramp check box on the General tab is selected.

    Limit

    A read connection. Assign a tag or an expression. The application reads the connection value to determine the highest or lowest ramp value the object can write to the data source.

    This connection is only used if the Use variable lower/upper limit check box on the General tab is checked.

See also

Create Ramp buttons

How the Ramp button works at run time

Columns on the Connections tab of a graphic object's Properties dialog box